package com.cskaoyan.mall.service;

import com.cskaoyan.mall.bean.Configuration;
import com.cskaoyan.mall.bean.MapBean;
import com.cskaoyan.mall.bean.bo.ExpressConfigBO;
import com.cskaoyan.mall.bean.bo.MallConfigBO;
import com.cskaoyan.mall.bean.bo.OrderConfigBO;
import com.cskaoyan.mall.bean.bo.WxConfigBO;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface ConfigurationService {


    int deleteByPrimaryKey(Integer id);

    int insert(Configuration record);

    int insertSelective(Configuration record);

    Configuration selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Configuration record);

    int updateByPrimaryKey(Configuration record);

    Map<String,String> getInfoByConfigClass(String configName);

    boolean updateMallInfo(MallConfigBO config);

    boolean updateExpressInfo(ExpressConfigBO config);

    boolean updateOrderInfo(OrderConfigBO config);

    boolean updateWXInfo(WxConfigBO config);
}
